#!/usr/bin/env python
# coding=utf-8
import os

from flask import Flask
from flask import request


app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello World!'


@app.route('/healthy')
def healthy():
    return "ok"


if __name__ == '__main__':
    port = 80
    try:
        port = int(os.environ.get('port', 80))
    except Exception:
        pass

    app.run(debug=True, host="0.0.0.0", port=port)
